package org.example.seata.bs.api.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author hzq
 * @date 2021/11/17 16:04
 */
@Data
@ApiModel(description = "订单详情")
public class OrderVo {

    @ApiModelProperty("订单id")
    private Integer orderId;

    @ApiModelProperty("用户id")
    private Integer accountId;

    @ApiModelProperty("用户名")
    private String accountName;

    @ApiModelProperty("订单号")
    private String orderNum;

    @ApiModelProperty("订单金额")
    private BigDecimal orderTotalPrice;

    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("订单详情")
    private List<OrderInfoVo> orderInfoVoList;
}
